package com.zjitc.model;


import java.sql.Date;

/**
 * Created by 冷丶 on 2018/4/16.
 */
public class Cat {

  private int id;
  private String catName;
  private String sex;
  private Date birthday;
  private String bloodliness;
  private int vaccine;
  private String expellingParasite;
  private Date updateTime;
  private String catSpecies;
  private String image;
  private double price;
  private int sell;
  private String username;

  public Cat() { }

  public Cat(int id, String catName, String sex, Date birthday, String bloodliness, int vaccine,
      String expellingParasite, Date updateTime, String catSpecies, String image, double price,
      int sell, String username) {
    this.id = id;
    this.catName = catName;
    this.sex = sex;
    this.birthday = birthday;
    this.bloodliness = bloodliness;
    this.vaccine = vaccine;
    this.expellingParasite = expellingParasite;
    this.updateTime = updateTime;
    this.catSpecies = catSpecies;
    this.image = image;
    this.price = price;
    this.sell = sell;
    this.username = username;
  }

  public String getCatSpecies() {
    return catSpecies;
  }

  public void setCatSpecies(String catSpecies) {
    this.catSpecies = catSpecies;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getCatName() {
    return catName;
  }

  public void setCatName(String catName) {
    this.catName = catName;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }

  public String getBloodliness() {
    return bloodliness;
  }

  public void setBloodliness(String bloodliness) {
    this.bloodliness = bloodliness;
  }

  public int getVaccine() {
    return vaccine;
  }

  public void setVaccine(int vaccine) {
    this.vaccine = vaccine;
  }

  public String getExpellingParasite() {
    return expellingParasite;
  }

  public void setExpellingParasite(String expellingParasite) {
    this.expellingParasite = expellingParasite;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  public int getSell() {
    return sell;
  }

  public void setSell(int sell) {
    this.sell = sell;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  @Override
  public String toString() {
    return "Cat{" +
        "id=" + id +
        ", catName='" + catName + '\'' +
        ", sex='" + sex + '\'' +
        ", birthday=" + birthday +
        ", bloodliness='" + bloodliness + '\'' +
        ", vaccine=" + vaccine +
        ", expellingParasite='" + expellingParasite + '\'' +
        ", updateTime=" + updateTime +
        ", catSpecies='" + catSpecies + '\'' +
        ", image='" + image + '\'' +
        ", price=" + price +
        ", sell=" + sell +
        ", username='" + username + '\'' +
        '}';
  }
}
